#!/bin/bash  -e

if [ $# -lt 1 ]; then echo cmd path; exit 1; fi

if
echo $1 |grep '^/' >/dev/null
then
echo $1
else
echo `pwd`/$1
fi
